home *** CD-ROM | disk | FTP | other *** search
- Path: tech.cftnet.com!not-for-mail
- From: wcowley@cftnet.com (Wes Cowley)
- Newsgroups: comp.windows.x.motif,comp.lang.c++
- Subject: Re: MOTIF Callbacks, C++ Member Functions - SOLVED
- Followup-To: comp.windows.x.motif,comp.lang.c++
- Date: 22 Feb 1996 11:10:57 GMT
- Organization: CFTnet
- Distribution: inet
- Message-ID: <4ghj02$1po@tech.cftnet.com>
- References: <4f6oau$c4m@knot.queensu.ca> <4f9fbo$7ju@news1.halcyon.com> <4gbf05$6d8@rex.sfe.com.au> <4gc9p3$s7s@tech.cftnet.com> <4gfdgb$n2d@newdelph.cig.mot.com>
- NNTP-Posting-Host: ppp244_8.cftnet.com
- X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
-
- Shahram Khosravani (khosravn@rtsg.mot.com) wrote:
- :
- : I don't do much C++ these days, but I think that the 'this' pointer you
- : are passing in as client data, can only be used to access other static
- : data/function members. It can not access any non-static data members or call
- : any non-static methods. True/False ?
-
- False. By casting the pointer to point to the class it was created
- from you can access any of the members, static or not.
-
- Wes
-